std::puts

From Cppreference

< cpp | io | c
Jump to: navigation, search
Defined in header <cstdio>

int puts( char *str );

Writes character string str and a newline to stdout

Parameters

str - character string to be written

Return value

non-negative number on success or EOF otherwise

See also

fputs
writes a character string to a file stream
(function)
printf
fprintf
sprintf
snprintf



(C++0x)
prints formatted output to stdout, a file stream or a buffer
(function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages